// Todo axes 轴设置
const VChartTemplateA01Axes = {
    axes_setUp: [
        {
            orient: 'left',
            trimPadding: false,
            hover: true,
            background_visible: false,
            background_fillOpacity: 0,
            background_hover_fill: '#DDE3E9',
            background_hover_fillOpacity: 0.65,
            background_hover_cursor: 'pointer',
            title_visible: false,
            title_space: 16,
            title_text: '轴标题',
            title_fill: '#fff',
            title_fontSize: 16,
            title_fontFamily: 'DIN',
            title_fontWeight: 600,
            title_fontStyle: 'italic',
            title_underline: false,
            title_lineThrough: false,
            title_shadowColor: '#262626',
            title_shadowBlur: 2,
            title_shadowOffsetX: 1,
            title_shadowOffsetY: 1,
            title_stroke: '#262626',
            title_lineWidth: 3,
            label_visible: true,
            tick_visible: true,
            tick_tickSize: 8,
            tick_stroke: '#f8f8f8',
            domainLine_visible: true,
            domainLine_stroke: '#f8f8f8',
            grid_visible: true,
            grid_stroke: 'rgba(0,0,0,0.1)',
            grid_lineDashA: 0,
            grid_lineDashB: 0,
            label_text: '',
            label_fill: '#fff',
            label_fontSize: 16,
            label_fontFamily: 'DIN',
            label_fontWeight: 600,
            label_fontStyle: 'italic',
            label_underline: false,
            label_lineThrough: false,
            label_shadowColor: '#262626',
            label_shadowBlur: 2,
            label_shadowOffsetX: 1,
            label_shadowOffsetY: 1,
            label_stroke: '#262626',
            label_lineWidth: 3,

            unit_visible: true,
            unit_text: '万元',
            unit_dx: -8,
            unit_dy: -8,
            unit_fill: '#fff',
            unit_fontSize: 16,
            unit_fontFamily: 'DIN',
            unit_fontWeight: 600,
            unit_fontStyle: 'italic',
            unit_underline: false,
            unit_lineThrough: false,
            unit_shadowColor: '#262626',
            unit_shadowBlur: 2,
            unit_shadowOffsetX: 1,
            unit_shadowOffsetY: 1,
            unit_stroke: '#262626',
            unit_lineWidth: 3,
        },
        {
            orient: 'bottom',
            trimPadding: false,
            hover: true,
            background_visible: true,
            background_fillOpacity: 0,
            background_hover_fill: '#DDE3E9',
            background_hover_fillOpacity: 0.65,
            background_hover_cursor: 'pointer',
            title_visible: false,
            title_space: 16,
            title_text: '轴标题',
            title_fill: '#fff',
            title_fontSize: 16,
            title_fontFamily: 'DIN',
            title_fontWeight: 600,
            title_fontStyle: 'italic',
            title_underline: false,
            title_lineThrough: false,
            title_shadowColor: '#262626',
            title_shadowBlur: 2,
            title_shadowOffsetX: 1,
            title_shadowOffsetY: 1,
            title_stroke: '#262626',
            title_lineWidth: 3,
            label_unit: '',
            label_fill: '#fff',
            label_fontSize: 16,
            label_fontFamily: 'DIN',
            label_fontWeight: 600,
            label_fontStyle: 'italic',
            label_underline: false,
            label_lineThrough: false,
            label_shadowColor: '#262626',
            label_shadowBlur: 2,
            label_shadowOffsetX: 1,
            label_shadowOffsetY: 1,
            label_stroke: '#262626',
            label_lineWidth: 3,
            tick_visible: true,
            tick_tickMode: 4,
            tick_noDecimals: true,
            tick_tickSize: 8,
            tick_stroke: '#f8f8f8',
            domainLine_visible: true,
            domainLine_stroke: '#f8f8f8',
            grid_visible: false,
            grid_stroke: 'rgba(0,0,0,0.1)',
            grid_lineDashA: 0,
            grid_lineDashB: 0,
        },
    ]
}
// Todo legends 图例设置
const VChartTemplateA01Legends = {
    legends_setUp: [
        {
            visible: true,
            orient: 'top',
            position: 'end',
            padding: 0,
            selectMode: 'multiple',
            allowAllCanceled: true,
            select: true,
            title_visible: false,
            title_text: '图例标题',
            title_align: 'start',
            title_space: 4,
            title_fill: '#fff',
            title_fontSize: 16,
            title_fontFamily: 'DIN',
            title_fontWeight: 600,
            title_fontStyle: 'italic',
            title_underline: false,
            title_lineThrough: false,
            title_textAlign: 'center',
            title_textBaseline: 'middle',
            title_shadowColor: '#262626',
            title_shadowBlur: 2,
            title_shadowOffsetX: 1,
            title_shadowOffsetY: 1,
            title_stroke: '#262626',
            title_lineWidth: 3,
            title_background: 'rgba(0,0,0,0)',
            item_spaceCol: 16,
            item_spaceRow: 8,
            item_padding: 4,
            item_align: 'left',
            item_focus: true,
            item_focusSize: 16,
            item_backRadius: 8,
            item_shape_space: 8,
            item_shape_size: 16,
            item_label_space: 16,
            item_label_fill: '#fff',
            item_label_fontSize: 16,
            item_label_fontFamily: 'PingFang',
            item_label_fontWeight: 600,
            item_label_fontStyle: 'italic',
            item_label_underline: false,
            item_label_lineThrough: false,
            item_label_shadowColor: '#262626',
            item_label_shadowBlur: 2,
            item_label_shadowOffsetX: 1,
            item_label_shadowOffsetY: 1,
            item_label_stroke: '#262626',
            item_label_lineWidth: 2,
        }
    ]
}

// Todo label 标签设置
const VChartTemplateA01Label = {
    label_visible: true,
    label_position: 'top',
    label_formatter: '',
    label_offset: 4,
    label_overlap: true,
    label_smartInvert: false,
    label_fontSize: 16,
    label_fontFamily: 'DIN',
    label_fontWeight: 600,
    label_fontStyle: 'italic',
    label_underline: false,
    label_lineThrough: false,
    label_maxLineWidth: 200,
    label_suffixPosition: 'middle',
    label_direction: 'horizontal',
    label_fillOpacity: 1,
    label_shadowColor: '#262626',
    label_shadowBlur: 2,
    label_shadowOffsetX: 1,
    label_shadowOffsetY: 1,
    label_stroke: '#262626',
    label_lineWidth: 1
}
// Todo tooltip 提示设置
const VChartTemplateA01Tooltip = {
    tooltip_visible: true,
    tooltip_trigger: 'hover',
    tooltip_mark_visible: true,
    tooltip_mark_position: 'tl',
    tooltip_mark_positionMode: 'pointer',
    tooltip_dimension_visible: true,
    tooltip_dimension_position: 'br',
    tooltip_dimension_positionMode: 'pointer',
    tooltip_panel_padding: 16,
    tooltip_panel_backgroundColor: '#f8f8f8',
    tooltip_panel_borderColor: '#f8f8f8',
    tooltip_panel_borderWidth: 1,
    tooltip_panel_borderRadius: 8,
    tooltip_panel_shadowX: 0,
    tooltip_panel_shadowY: 0,
    tooltip_panel_shadowBlur: 10,
    tooltip_panel_shadowSpread: 4,
    tooltip_panel_shadowColor: '#aaa',
    tooltip_titleLabel_fontColor: '#262626',
    tooltip_titleLabel_fontSize: 24,
    tooltip_titleLabel_fontFamily: 'ShuHeiTi',
    tooltip_titleLabel_fontWeight: 600,
    tooltip_titleLabel_textAlign: 'center',
    tooltip_shape_size: 16,
    tooltip_shape_spacing: 8,
    tooltip_keyLabel_fontColor: '#262626',
    tooltip_keyLabel_fontSize: 20,
    tooltip_keyLabel_fontFamily: 'PingFang',
    tooltip_keyLabel_fontWeight: 600,
    tooltip_keyLabel_textAlign: 'center',
    tooltip_keyLabel_tspacing: 8,
    tooltip_valueLabel_fontColor: '#262626',
    tooltip_valueLabel_fontSize: 20,
    tooltip_valueLabel_fontFamily: 'DIN',
    tooltip_valueLabel_fontWeight: 600,
    tooltip_valueLabel_textAlign: 'center',
    tooltip_valueLabel_tspacing: 8,
    tooltip_spaceRow: 8,
}
// Todo crosshair 指示器设置
const VChartTemplateA01Crosshair = {
    crosshair_trigger: 'hover',
    crosshair_X_visible: true,
    crosshair_X_lineVisible: true,
    crosshair_X_lineType: 'rect',
    crosshair_X_lineFill: 'rgba(0,0,0,0.15)',
    crosshair_X_lineStroke: 'rgba(0,0,0,0)',
    crosshair_X_lineLineWidth: 1,
    crosshair_X_lineLineDashA: 0,
    crosshair_X_lineLineDashB: 0,
    crosshair_X_labelVisible: true,
    crosshair_X_labelBackground: 'rgba(0,0,0,0)',
    crosshair_X_labelFill: '#fff',
    crosshair_X_labelFontSize: 16,
    crosshair_X_labelFontFamily: 'DIN',
    crosshair_X_labelFontWeight: 600,
    crosshair_X_labelFontStyle: 'italic',
    crosshair_X_labelTextAlign: 'center',
    crosshair_X_labelTextBaseline: 'middle',
    crosshair_X_labelUnderline: false,
    crosshair_X_labelLineThrough: false,
    crosshair_X_labelShadowColor: '#262626',
    crosshair_X_labelShadowBlur: 2,
    crosshair_X_labelShadowOffsetX: 1,
    crosshair_X_labelShadowOffsetY: 1,
    crosshair_X_labelStroke: '#262626',
    crosshair_X_labelLineWidth: 3,
    crosshair_Y_visible: true,
    crosshair_Y_lineVisible: true,
    crosshair_Y_lineType: 'line',
    crosshair_Y_lineFill: 'rgba(0,0,0,0)',
    crosshair_Y_lineStroke: '#fff',
    crosshair_Y_lineLineWidth: 1,
    crosshair_Y_lineLineDashA: 4,
    crosshair_Y_lineLineDashB: 4,
    crosshair_Y_labelVisible: true,
    crosshair_Y_labelBackground: 'rgba(0,0,0,0)',
    crosshair_Y_labelFill: '#fff',
    crosshair_Y_labelFontSize: 16,
    crosshair_Y_labelFontFamily: 'DIN',
    crosshair_Y_labelFontWeight: 600,
    crosshair_Y_labelFontStyle: 'italic',
    crosshair_Y_labelTextAlign: 'center',
    crosshair_Y_labelTextBaseline: 'middle',
    crosshair_Y_labelUnderline: false,
    crosshair_Y_labelLineThrough: false,
    crosshair_Y_labelShadowColor: '#262626',
    crosshair_Y_labelShadowBlur: 2,
    crosshair_Y_labelShadowOffsetX: 1,
    crosshair_Y_labelShadowOffsetY: 1,
    crosshair_Y_labelStroke: '#262626',
    crosshair_Y_labelLineWidth: 3,
}

// !!! 一号版
// Todo 基础设置
const VChartTemplateA01Common = {
    api: 'getTextTempA01',
    params: '',
    type: 'bar',
    stack: true,
    group: true,
    percent: false,
    direction: 'vertical', // vertical horizontal  
    background: 'rgba(0,0,0,0)',
    padding: 16,
    xField: 'type',
    yField: 'value',
    colorPalette: [
        { color: '#1597e3' },
        { color: '#09b092' },
        { color: '#fa541c' },
        { color: '#eb2f96' },
    ]
}
// Todo  Title设置
const VChartTemplateA01Title = {
    title_visible: false,
    title_text: '折现图、面积图、柱形图、条形图',
    title_align: 'center',
    title_innerPadding: 0,
    title_fill: '#fff',
    title_fontSize: 16,
    title_fontFamily: 'DIN',
    title_fontWeight: 600,
    title_fontStyle: 'italic',
    title_textAlign: 'center',
    title_textBaseline: 'middle',
    title_underline: false,
    title_lineThrough: false,
    title_shadowColor: '#262626',
    title_shadowBlur: 2,
    title_shadowOffsetX: 1,
    title_shadowOffsetY: 1,
    title_background: 'transparent',
    title_stroke: '#262626',
    title_lineWidth: 3,
}
// Todo 折线&面积图元
const VChartTemplateA01Line = {
    line_visible: true,
    line_curveType: 'linear',
    line_lineWidth: 2,
    line_opacity: 1,
    line_shadowColor: '#262626',
    line_shadowBlur: 2,
    line_shadowOffsetX: 1,
    line_shadowOffsetY: 1,
}
// Todo 柱图&条图图元
const VChartTemplateA01Bar = {
    bar_visible: true,
    bar_cornerRadius: 4,
    bar_shadowColor: '#262626',
    bar_shadowBlur: 4,
    bar_shadowOffsetX: 2,
    bar_shadowOffsetY: 2,
}
// Todo 图元设置
const VChartTemplateA01Point = {
    point_visible: true,
    point_symbolType: 'circle',
    point_size: 8,
    point_lineWidth: 2,
    point_fill: '#fff',
    point_fillOpacity: 1,
    point_shadowColor: '#262626',
    point_shadowBlur: 2,
    point_shadowOffsetX: 1,
    point_shadowOffsetY: 1,
    point_hover_symbolType: 'rectRound',
    point_hover_size: 16
}
// Todo 柱图&条图背景
const VChartTemplateA01BarBack = {
    barBack_visible: true,
    barBack_cornerRadius: 0,
    barBack_fill: 'rgba(0,0,0,0.05)',
}
// Todo 折线&面积标签
const VChartTemplateA01LineLabel = {
    lineLabel_visible: true,
    lineLabel_fontSize: 24,
    lineLabel_fontFamily: 'DIN',
    lineLabel_fontWeight: 600,
    lineLabel_fontStyle: 'italic',
    lineLabel_underline: false,
    lineLabel_lineThrough: false,
    lineLabel_shadowColor: '#262626',
    lineLabel_shadowBlur: 2,
    lineLabel_shadowOffsetX: 1,
    lineLabel_shadowOffsetY: 1,
    lineLabel_stroke: '#262626',
    lineLabel_lineWidth: 3,
}
// Todo 合计设置
const VChartTemplateA01TotalLabel = {
    totalLabel_visible: false,
    totalLabel_fill: '#fff',
    totalLabel_fontSize: 24,
    totalLabel_fontFamily: 'DIN',
    totalLabel_fontWeight: 600,
    totalLabel_fontStyle: 'italic',
    totalLabel_underline: false,
    totalLabel_lineThrough: false,
    totalLabel_fillOpacity: 1,
    totalLabel_shadowColor: '#262626',
    totalLabel_shadowBlur: 2,
    totalLabel_shadowOffsetX: 1,
    totalLabel_shadowOffsetY: 1,
    totalLabel_stroke: '#262626',
    totalLabel_lineWidth: 1
}

// Todo 标注线
const VChartTemplateA01MarkLine = {
    mark_line: [
        {
            visible: true,
            axes: 'y',
            number: '17500',
            line_stroke: '#262626',
            line_strokeOpacity: 0.5,
            line_lineDashA: 8,
            line_lineDashB: 8,
            line_lineWidth: 2,
            line_shadowColor: '#262626',
            line_shadowBlur: 2,
            line_shadowOffsetX: 1,
            line_shadowOffsetY: 1,
            label_visible: true,
            label_position: 'start',
            label_refX: 0,
            label_refY: 0,
            label_text: '内容',
            label_fill: '#fff',
            label_fontSize: 24,
            label_fontFamily: 'DIN',
            label_fontWeight: 600,
            label_fontStyle: 'italic',
            label_underline: false,
            label_lineThrough: false,
            label_fillOpacity: 1,
            label_shadowColor: '#262626',
            label_shadowBlur: 2,
            label_shadowOffsetX: 1,
            label_shadowOffsetY: 1,
            label_stroke: '#262626',
            label_lineWidth: 1
        }
    ]
}
// Todo 标注点
const VChartTemplateA01MarkPoint = {
    mark_point: [
        {
            visible: true,
            coordinate_type: '索尼',
            coordinate_value: 15500,

            targetSymbol_visible: true,
            targetSymbol_offset: 16,
            targetSymbol_symbolType: 'cross',
            targetSymbol_size: 16,
            targetSymbol_fill: '#fff',
            targetSymbol_fillOpacity: 1,
            targetSymbol_shadowColor: '#262626',
            targetSymbol_shadowBlur: 2,
            targetSymbol_shadowOffsetX: 1,
            targetSymbol_shadowOffsetY: 1,
            targetSymbol_stroke: '#262626',
            targetSymbol_lineWidth: 1,

            itemLine_visible: true,
            itemLine_type: 'type-arc',
            itemLine_arcRatio: 0.1,

            itemLine_startSymbol_visible: true,
            itemLine_startSymbol_size: 8,
            itemLine_startSymbol_fill: '#262626',
            itemLine_startSymbol_symbolType: 'triangle',
            itemLine_startSymbol_shadowColor: '#262626',
            itemLine_startSymbol_shadowBlur: 2,
            itemLine_startSymbol_shadowOffsetX: 1,
            itemLine_startSymbol_shadowOffsetY: 1,

            itemLine_endSymbol_visible: true,
            itemLine_endSymbol_size: 8,
            itemLine_endSymbol_fill: '#262626',
            itemLine_endSymbol_symbolType: 'triangle',
            itemLine_endSymbol_shadowColor: '#262626',
            itemLine_endSymbol_shadowBlur: 2,
            itemLine_endSymbol_shadowOffsetX: 1,
            itemLine_endSymbol_shadowOffsetY: 1,
            itemLine_line_stroke: '#E8346D',
            itemLine_line_lineWidth: 2,
            itemLine_line_lineDashA: 4,
            itemLine_line_lineDashB: 4,
            itemLine_line_shadowColor: '#262626',
            itemLine_line_shadowBlur: 2,
            itemLine_line_shadowOffsetX: 1,
            itemLine_line_shadowOffsetY: 1,
            itemContent_position: 'middle',
            itemContent_offsetX: 40,
            itemContent_offsetY: -80,
            itemContent_autoRotate: false,
            itemContent_text: '标记点内容',
            itemContent_fill: '#fff',
            itemContent_fontSize: 24,
            itemContent_fontFamily: 'DIN',
            itemContent_fontWeight: 600,
            itemContent_fontStyle: 'italic',
            itemContent_underline: false,
            itemContent_lineThrough: false,
            itemContent_fillOpacity: 1,
            itemContent_shadowColor: '#262626',
            itemContent_shadowBlur: 2,
            itemContent_shadowOffsetX: 1,
            itemContent_shadowOffsetY: 1,
            itemContent_stroke: '#262626',
            itemContent_lineWidth: 1,
        }
    ]
}
// Todo 滚动条
const VChartTemplateA01ScrollBar = {
    scroll_Bar: [
        {
            visible: true,
            orient: 'bottom',
            start: 0,
            end: 1,

            roamDrag_rate: 0.5,
            roamDrag_reverse: true,
            roamZoom_rate: 1,
            roamZoom_focus: true,

            rail_cornerRadius: 16,
            rail_fill: 'rgba(0,0,0,0.1)',
            rail_shadowColor: '#262626',
            rail_shadowBlur: 4,
            rail_shadowOffsetX: 2,
            rail_shadowOffsetY: 2,

            slider_cornerRadius: 16,
            slider_fill: '#49DBB0',
            slider_shadowColor: '#262626',
            slider_shadowBlur: 4,
            slider_shadowOffsetX: 2,
            slider_shadowOffsetY: 2,
        }
    ]
}

// !!!  二号版
const VChartTemplateA02Common = {
    api: 'getTextTempA01',
    params: '',
    type: 'radar',
    stack: true,
    group: false,
    categoryField: 'type',
    valueField: 'value',
    seriesField: 'name',
    background: '#fff',
    padding: 16,
    outerRadius: 0.8,
    innerRadius: 0,
    colorPalette: [
        { color: '#f5222d' },
        { color: '#faad14' },
        { color: '#52c41a' },
        { color: '#2f54eb' },
        { color: '#fa541c' },
        { color: '#fadb14' },
        { color: '#13c2c2' },
        { color: '#722ed1' },
        { color: '#fa8c16' },
        { color: '#a0d911' },
        { color: '#1677ff' },
        { color: '#eb2f96' },
    ]
}
const VChartTemplateA02Label = {
    label_visible: false,
    label_position: 'outside',
    label_formatter: `{type} - {value}%`,
    label_type: 'text',
    label_fontSize: 24,
    label_fontFamily: 'DIN',
    label_fontWeight: 600,
    label_fontStyle: 'italic',
    label_underline: false,
    label_lineThrough: false,
    label_shadowColor: '#262626',
    label_shadowBlur: 4,
    label_shadowOffsetX: 2,
    label_shadowOffsetY: 2,
    label_stroke: '#262626',
    label_lineWidth: 2,
    label_line_visible: true,
    label_line1MinLength: 40,
    label_line2MinLength: 80,
    label_smooth: true,
    label_align: 'arc',
}
// Todo 饼图 环图 配置
const VChartTemplateA02Pie = {
    pie_padAngle: 0.02,
    pie_cornerRadius: 8,
    pie_shadowColor: '#262626',
    pie_shadowBlur: 4,
    pie_shadowOffsetX: 2,
    pie_shadowOffsetY: 2,
    pie_stroke: '#262626',
    pie_lineWidth: 0,

    pie_hover_outerRadius: 0.8,
    pie_hover_shadowColor: '#262626',
    pie_hover_shadowBlur: 4,
    pie_hover_shadowOffsetX: 2,
    pie_hover_shadowOffsetY: 2,
    pie_hover_stroke: '#262626',
    pie_hover_lineWidth: 1
}
// Todo 环形指示卡
const VChartTemplateA02Indicator = {
    indicator_visible: true,
    indicator_fixed: false,
    indicator_trigger: 'hover',
    indicator_title_visible: true,
    indicator_title_space: 16,
    indicator_title_text: '内容',
    indicator_title_fill: '#fff',
    indicator_title_fontSize: 48,
    indicator_title_fontFamily: 'DIN',
    indicator_title_fontWeight: 600,
    indicator_title_fontStyle: 'normal',
    indicator_title_underline: false,
    indicator_title_lineThrough: false,
    indicator_title_shadowColor: '#262626',
    indicator_title_shadowBlur: 4,
    indicator_title_shadowOffsetX: 2,
    indicator_title_shadowOffsetY: 2,
    indicator_title_stroke: '#262626',
    indicator_title_lineWidth: 2,
    indicator_content: [
        {
            visible: true,
            space: 16,
            text: 'type',
            unit: '',
            fill: '#fff',
            fontSize: 32,
            fontFamily: 'ShuHeiTi',
            fontWeight: 600,
            fontStyle: 'normal',
            underline: false,
            lineThrough: false,
            shadowColor: '#262626',
            shadowBlur: 4,
            shadowOffsetX: 2,
            shadowOffsetY: 2,
            stroke: '#262626',
            lineWidth: 2
        },
        {
            visible: true,
            space: 16,
            text: 'value',
            unit: '%',
            fill: '#fff',
            fontSize: 24,
            fontFamily: 'DIN',
            fontWeight: 600,
            fontStyle: 'normal',
            underline: false,
            lineThrough: false,
            shadowColor: '#262626',
            shadowBlur: 4,
            shadowOffsetX: 2,
            shadowOffsetY: 2,
            stroke: '#262626',
            lineWidth: 2
        }
    ]
}
// Todo axes 轴设置
const VChartTemplateA02Axes = {
    axes_setUp: [
        {
            visible: true,
            orient: 'radius',
            trimPadding: false,
            hover: true,
            title_visible: false,
            title_space: 16,
            title_text: '轴标题',
            title_fill: '#fff',
            title_fontSize: 16,
            title_fontFamily: 'DIN',
            title_fontWeight: 600,
            title_fontStyle: 'italic',
            title_underline: false,
            title_lineThrough: false,
            title_shadowColor: '#262626',
            title_shadowBlur: 2,
            title_shadowOffsetX: 1,
            title_shadowOffsetY: 1,
            title_stroke: '#262626',
            title_lineWidth: 3,
            tick_visible: true,
            tick_tickSize: 8,
            tick_stroke: '#262626',
            domainLine_visible: true,
            domainLine_stroke: '#262626',
            grid_visible: true,
            grid_stroke: 'rgba(0,0,0,0.1)',
            grid_lineDashA: 0,
            grid_lineDashB: 0,

            label_visible: true,
            label_text: 'V',
            label_fill: '#fff',
            label_fontSize: 16,
            label_fontFamily: 'DIN',
            label_fontWeight: 600,
            label_fontStyle: 'italic',
            label_underline: false,
            label_lineThrough: false,
            label_shadowColor: '#262626',
            label_shadowBlur: 2,
            label_shadowOffsetX: 1,
            label_shadowOffsetY: 1,
            label_stroke: '#262626',
            label_lineWidth: 3,
            unit_visible: true,
            unit_text: 'V',
            unit_dx: -8,
            unit_dy: -8,
            unit_fill: '#fff',
            unit_fontSize: 16,
            unit_fontFamily: 'DIN',
            unit_fontWeight: 600,
            unit_fontStyle: 'italic',
            unit_underline: false,
            unit_lineThrough: false,
            unit_shadowColor: '#262626',
            unit_shadowBlur: 2,
            unit_shadowOffsetX: 1,
            unit_shadowOffsetY: 1,
            unit_stroke: '#262626',
            unit_lineWidth: 3,
        },
        {
            visible: true,
            orient: 'angle',
            trimPadding: false,
            hover: true,
            background_visible: true,
            background_fillOpacity: 0,
            background_hover_fill: '#DDE3E9',
            background_hover_fillOpacity: 0.65,
            background_hover_cursor: 'pointer',
            title_visible: false,
            title_space: 16,
            title_text: '轴标题',
            title_fill: '#fff',
            title_fontSize: 16,
            title_fontFamily: 'DIN',
            title_fontWeight: 600,
            title_fontStyle: 'italic',
            title_underline: false,
            title_lineThrough: false,
            title_shadowColor: '#262626',
            title_shadowBlur: 2,
            title_shadowOffsetX: 1,
            title_shadowOffsetY: 1,
            title_stroke: '#262626',
            title_lineWidth: 3,
            label_unit: '',
            label_fill: '#fff',
            label_fontSize: 16,
            label_fontFamily: 'DIN',
            label_fontWeight: 600,
            label_fontStyle: 'italic',
            label_underline: false,
            label_lineThrough: false,
            label_shadowColor: '#262626',
            label_shadowBlur: 2,
            label_shadowOffsetX: 1,
            label_shadowOffsetY: 1,
            label_stroke: '#262626',
            label_lineWidth: 3,
            tick_visible: true,
            tick_tickMode: 4,
            tick_noDecimals: true,
            tick_tickSize: 8,
            tick_stroke: '#262626',
            domainLine_visible: true,
            domainLine_stroke: '#262626',
            grid_visible: false,
            grid_stroke: 'rgba(0,0,0,0.1)',
            grid_lineDashA: 0,
            grid_lineDashB: 0,
        },
    ]
}

// !!! 仪表图配置 (A03)
const VChartTemplateA03Common = {
    api: 'getTextTempA01',
    params: '',
    gaugeType: 'gauge',
    categoryField: 'type',
    valueField: 'value',
    seriesField: 'type',
    background: '#fff',
    padding: 16,
    outerRadius: 0.8,
    innerRadius: 0.52,
    startAngle: -225,
    endAngle: 45,
    centerY: '50%',
}
const VChartTemplateA03Indicator = {
    ...VChartTemplateA02Indicator,
    indicator_fixed: true,
    indicator_offsetY: '35%',
    indicator_title_fontSize: 24,
    indicator_title_space: 0,
    indicator_content: [
        {
            visible: true,
            space: 0,
            text: 'value',
            unit: '%',
            fill: '#fff',
            fontSize: 16,
            fontFamily: 'ShuHeiTi',
            fontWeight: 600,
            fontStyle: 'normal',
            underline: false,
            lineThrough: false,
            shadowColor: '#262626',
            shadowBlur: 4,
            shadowOffsetX: 2,
            shadowOffsetY: 2,
            stroke: '#262626',
            lineWidth: 2
        },
    ]
}
const VChartTemplateA03Circular = {
    circular_color: [
        { color: '#fa541c', offset: 0 },
        { color: '#a0d911', offset: 0.35 },
        { color: '#1677ff', offset: 0.7 },
        { color: '#eb2f96', offset: 1 },
    ],
    circular_cornerRadius: 16,
    circular_shadowColor: '#262626',
    circular_shadowBlur: 4,
    circular_shadowOffsetX: 2,
    circular_shadowOffsetY: 2,
    circular_stroke: '#262626',
    circular_lineWidth: 0,
    circular_track: '#cccccc',
}
const VChartTemplateA03Gauge = {
    gauge_color: [
        { type: 'Level 1', color: '#f5222d', value: 0.4 },
        { type: 'Level 2', color: '#faad14', value: 0.8 },
        { type: 'Level 3', color: '#52c41a', value: 1.2 },
        { type: 'Level 4', color: '#2f54eb', value: 2 },
    ],
    gauge_segment_cornerRadius: 16,
    gauge_segment_shadowColor: '#262626',
    gauge_segment_shadowBlur: 4,
    gauge_segment_shadowOffsetX: 2,
    gauge_segment_shadowOffsetY: 2,
    gauge_label_visible: true,
    gauge_label_position: 'inside-outer',
    gauge_label_offsetRadius: 8,
    gauge_label_fill: '#fff',
    gauge_label_fontSize: 24,
    gauge_label_fontFamily: 'DIN',
    gauge_label_fontWeight: 600,
    gauge_label_fontStyle: 'italic',
    gauge_label_underline: false,
    gauge_label_lineThrough: false,
    gauge_label_shadowColor: '#262626',
    gauge_label_shadowBlur: 2,
    gauge_label_shadowOffsetX: 1,
    gauge_label_shadowOffsetY: 1,
    gauge_label_stroke: '#262626',
    gauge_label_lineWidth: 1
}
const VChartTemplateA03Pin = {
    pin_visible: true,
    pin_width: 0.03,
    pin_height: 0.03,
    pin_fill: '#ccc',
    pin_shadowColor: '#262626',
    pin_shadowBlur: 4,
    pin_shadowOffsetX: 2,
    pin_shadowOffsetY: 2,
}
const VChartTemplateA03Pointer = {
    pointer_visible: true,
    pointer_width: 0.5,
    pointer_height: 0.5,
    pointer_fill: '#555',
    pointer_shadowColor: '#262626',
    pointer_shadowBlur: 4,
    pointer_shadowOffsetX: 2,
    pointer_shadowOffsetY: 2,
}
const VChartTemplateA03PinBackground = {
    pinBackground_visible: true,
    pinBackground_width: 0.07,
    pinBackground_height: 0.07,
    pinBackground_fill: '#ddd',
    pinBackground_shadowColor: '#262626',
    pinBackground_shadowBlur: 4,
    pinBackground_shadowOffsetX: 2,
    pinBackground_shadowOffsetY: 2,
}

// !!!  进度图配置 (A04)
const VChartTemplateA04Common = {
    api: 'getTextTempA01',
    params: '',
    type: 'linearProgress',
    xField: 'value',
    yField: 'type',
    seriesField: 'name',
    direction: 'horizontal',
    background: '#fff',
    padding: 16,
    cornerRadius: 16,
    radius: 0.9,
    innerRadius: 0.3,
    colorPalette: [
        { color: '#f5222d' },
        { color: '#faad14' },
        { color: '#52c41a' },
        { color: '#2f54eb' },
        { color: '#fa541c' },
        { color: '#fadb14' },
        { color: '#13c2c2' },
        { color: '#722ed1' },
        { color: '#fa8c16' },
        { color: '#a0d911' },
        { color: '#1677ff' },
        { color: '#eb2f96' },
    ]
}
const VChartTemplateA04Axes = {
    axes_setUp: [
        {
            orient: 'right',
            trimPadding: false,
            hover: true,
            background_visible: false,
            background_fillOpacity: 0,
            background_hover_fill: '#DDE3E9',
            background_hover_fillOpacity: 0.65,
            background_hover_cursor: 'pointer',
            title_visible: false,
            title_space: 16,
            title_text: '轴标题',
            title_fill: '#fff',
            title_fontSize: 16,
            title_fontFamily: 'DIN',
            title_fontWeight: 600,
            title_fontStyle: 'italic',
            title_underline: false,
            title_lineThrough: false,
            title_shadowColor: '#262626',
            title_shadowBlur: 2,
            title_shadowOffsetX: 1,
            title_shadowOffsetY: 1,
            title_stroke: '#262626',
            title_lineWidth: 3,
            tick_visible: false,
            tick_tickSize: 8,
            tick_stroke: '#262626',
            domainLine_visible: false,
            domainLine_stroke: '#262626',
            grid_visible: false,
            grid_stroke: 'rgba(0,0,0,0.1)',
            grid_lineDashA: 0,
            grid_lineDashB: 0,

            label_visible: true,
            label_text: '',
            label_fill: '#fff',
            label_fontSize: 16,
            label_fontFamily: 'DIN',
            label_fontWeight: 600,
            label_fontStyle: 'italic',
            label_underline: false,
            label_lineThrough: false,
            label_shadowColor: '#262626',
            label_shadowBlur: 2,
            label_shadowOffsetX: 1,
            label_shadowOffsetY: 1,
            label_stroke: '#262626',
            label_lineWidth: 3,

            unit_visible: false,
            unit_text: 'V',
            unit_dx: -8,
            unit_dy: -8,
            unit_fill: '#fff',
            unit_fontSize: 16,
            unit_fontFamily: 'DIN',
            unit_fontWeight: 600,
            unit_fontStyle: 'italic',
            unit_underline: false,
            unit_lineThrough: false,
            unit_shadowColor: '#262626',
            unit_shadowBlur: 2,
            unit_shadowOffsetX: 1,
            unit_shadowOffsetY: 1,
            unit_stroke: '#262626',
            unit_lineWidth: 3,
        },
        {
            orient: 'bottom',
            trimPadding: false,
            hover: true,
            background_visible: true,
            background_fillOpacity: 0,
            background_hover_fill: '#DDE3E9',
            background_hover_fillOpacity: 0.65,
            background_hover_cursor: 'pointer',
            title_visible: false,
            title_space: 16,
            title_text: '轴标题',
            title_fill: '#fff',
            title_fontSize: 16,
            title_fontFamily: 'DIN',
            title_fontWeight: 600,
            title_fontStyle: 'italic',
            title_underline: false,
            title_lineThrough: false,
            title_shadowColor: '#262626',
            title_shadowBlur: 2,
            title_shadowOffsetX: 1,
            title_shadowOffsetY: 1,
            title_stroke: '#262626',
            title_lineWidth: 3,
            label_unit: '',
            label_fill: '#fff',
            label_fontSize: 16,
            label_fontFamily: 'DIN',
            label_fontWeight: 600,
            label_fontStyle: 'italic',
            label_underline: false,
            label_lineThrough: false,
            label_shadowColor: '#262626',
            label_shadowBlur: 2,
            label_shadowOffsetX: 1,
            label_shadowOffsetY: 1,
            label_stroke: '#262626',
            label_lineWidth: 3,
            tick_visible: false,
            tick_tickMode: 4,
            tick_noDecimals: true,
            tick_tickSize: 8,
            tick_stroke: '#262626',
            domainLine_visible: false,
            domainLine_stroke: '#262626',
            grid_visible: false,
            grid_stroke: 'rgba(0,0,0,0.1)',
            grid_lineDashA: 0,
            grid_lineDashB: 0,
        },
    ]
}
const VChartTemplateA04Progress = {
    progress_innerPadding: 2,
    progress_outerPadding: 2,
    progress_shadowColor: '#262626',
    progress_shadowBlur: 4,
    progress_shadowOffsetX: 2,
    progress_shadowOffsetY: 2,
    progress_stroke: '#262626',
    progress_lineWidth: 0,
    track_fill: '#f8f8f8'
}

// !!! 水波图配置 (A05)
const VChartTemplateA05Common = {
    api: 'getTextTempA01',
    params: '',
    background: '#fff',
    padding: 16,
    outlinePadding: 16,
    maskShape: 'circle',
    color: '#722ed1',
    liquid: [
        { offset: 0, color: '#f5222d' },
        { offset: 1, color: '#faad14' },
    ],
    liquidBackground: '#f8f8f8',
}

const VChartTemplateA05Indicator = {
    indicator_visible: true,
    indicator_fixed: true,
    indicator_trigger: 'hover',
    indicator_title_visible: true,
    indicator_title_space: 8,
    indicator_title_text: '内容',
    indicator_title_fill: '#fff',
    indicator_title_fontSize: 24,
    indicator_title_fontFamily: 'DIN',
    indicator_title_fontWeight: 600,
    indicator_title_fontStyle: 'normal',
    indicator_title_underline: false,
    indicator_title_lineThrough: false,
    indicator_title_shadowColor: '#262626',
    indicator_title_shadowBlur: 4,
    indicator_title_shadowOffsetX: 2,
    indicator_title_shadowOffsetY: 2,
    indicator_title_stroke: '#262626',
    indicator_title_lineWidth: 2,
    indicator_content: [
        {
            visible: true,
            space: 8,
            text: 'value',
            unit: '%',
            fill: '#fff',
            fontSize: 16,
            fontFamily: 'DIN',
            fontWeight: 600,
            fontStyle: 'normal',
            underline: false,
            lineThrough: false,
            shadowColor: '#262626',
            shadowBlur: 4,
            shadowOffsetX: 2,
            shadowOffsetY: 2,
            stroke: '#262626',
            lineWidth: 2
        }
    ]
}

// !!! 三维图配置 (A06)


const VChartTemplateA06Axes = {
    axes_setUp: [
        ...VChartTemplateA01Axes.axes_setUp,
        {
            orient: 'z',
            trimPadding: false,
            hover: true,
            background_visible: false,
            background_fillOpacity: 0,
            background_hover_fill: '#DDE3E9',
            background_hover_fillOpacity: 0.65,
            background_hover_cursor: 'pointer',
            title_visible: false,
            title_space: 16,
            title_text: '轴标题',
            title_fill: '#fff',
            title_fontSize: 16,
            title_fontFamily: 'DIN',
            title_fontWeight: 600,
            title_fontStyle: 'italic',
            title_underline: false,
            title_lineThrough: false,
            title_shadowColor: '#262626',
            title_shadowBlur: 2,
            title_shadowOffsetX: 1,
            title_shadowOffsetY: 1,
            title_stroke: '#262626',
            title_lineWidth: 3,
            tick_visible: true,
            tick_tickSize: 8,
            tick_stroke: '#262626',
            domainLine_visible: true,
            domainLine_stroke: '#262626',
            grid_visible: true,
            grid_stroke: 'rgba(0,0,0,0.1)',
            grid_lineDashA: 0,
            grid_lineDashB: 0,
            label_visible: true,
            label_text: '',
            label_fill: '#fff',
            label_fontSize: 16,
            label_fontFamily: 'DIN',
            label_fontWeight: 600,
            label_fontStyle: 'italic',
            label_underline: false,
            label_lineThrough: false,
            label_shadowColor: '#262626',
            label_shadowBlur: 2,
            label_shadowOffsetX: 1,
            label_shadowOffsetY: 1,
            label_stroke: '#262626',
            label_lineWidth: 3,
            unit_visible: false,
            unit_text: 'V',
            unit_dx: -8,
            unit_dy: -8,
            unit_fill: '#fff',
            unit_fontSize: 16,
            unit_fontFamily: 'DIN',
            unit_fontWeight: 600,
            unit_fontStyle: 'italic',
            unit_underline: false,
            unit_lineThrough: false,
            unit_shadowColor: '#262626',
            unit_shadowBlur: 2,
            unit_shadowOffsetX: 1,
            unit_shadowOffsetY: 1,
            unit_stroke: '#262626',
            unit_lineWidth: 3,
        },
    ]
}


export const ParamsMapping = {
    // 图例一
    VChartTemplateA01Common,
    VChartTemplateA01Axes,
    VChartTemplateA01Legends,
    VChartTemplateA01Label,
    VChartTemplateA01Tooltip,
    VChartTemplateA01Crosshair,
    VChartTemplateA01Title,
    VChartTemplateA01Line,
    VChartTemplateA01Point,
    VChartTemplateA01Bar,
    VChartTemplateA01BarBack,
    VChartTemplateA01LineLabel,
    VChartTemplateA01TotalLabel,
    VChartTemplateA01MarkLine,
    VChartTemplateA01MarkPoint,
    VChartTemplateA01ScrollBar,
    // 图例二
    VChartTemplateA02Common,
    VChartTemplateA02Axes,
    VChartTemplateA02Label,
    VChartTemplateA02Pie,
    VChartTemplateA02Indicator,
    VChartTemplateA02Title: { ...VChartTemplateA01Title, title_text: '饼图、环图、玫瑰图、雷达图' },
    VChartTemplateA02Legends: VChartTemplateA01Legends,
    VChartTemplateA02Tooltip: VChartTemplateA01Tooltip,
    VChartTemplateA02Crosshair: VChartTemplateA01Crosshair,
    VChartTemplateA02Line: VChartTemplateA01Line,
    VChartTemplateA02Point: VChartTemplateA01Point,
    // 图例三
    VChartTemplateA03Title: { ...VChartTemplateA01Title, title_text: '仪表图' },
    VChartTemplateA03Common,
    VChartTemplateA03Indicator,
    VChartTemplateA03Circular,
    VChartTemplateA03Gauge,
    VChartTemplateA03Pin,
    VChartTemplateA03Pointer,
    VChartTemplateA03PinBackground,
    // 图例4
    VChartTemplateA04Common,
    VChartTemplateA04Title: { ...VChartTemplateA01Title, title_text: '进度图' },
    VChartTemplateA04Tooltip: VChartTemplateA01Tooltip,
    VChartTemplateA04Axes,
    VChartTemplateA04Indicator: VChartTemplateA02Indicator,
    VChartTemplateA04Legends: VChartTemplateA01Legends,
    VChartTemplateA04Progress,
    // 5
    VChartTemplateA05Indicator,
    VChartTemplateA05Common,
    VChartTemplateA05Title: { ...VChartTemplateA01Title, title_text: '水波图' },
    // 6
    VChartTemplateA06Axes,
    VChartTemplateA06Title: { ...VChartTemplateA01Title, title_text: '3D折现图 & 3D面积图' },
    VChartTemplateA06Common: VChartTemplateA01Common,
    VChartTemplateA06Legends: VChartTemplateA01Legends,
    VChartTemplateA06Label: VChartTemplateA01Label,
    VChartTemplateA06Tooltip: VChartTemplateA01Tooltip,
    VChartTemplateA06Line: VChartTemplateA01Line,
    VChartTemplateA06Point: VChartTemplateA01Point,
    VChartTemplateA06LineLabel: VChartTemplateA01LineLabel,
    // 7
    VChartTemplateA07Common: VChartTemplateA02Common,
    VChartTemplateA07Title: { ...VChartTemplateA01Title, title_text: '3D饼图' },
    VChartTemplateA07Legends: VChartTemplateA01Legends,

}